//
//  ReplyListData.m
//  EnvironmentalProtection
//
//  Created by HCreater on 2018/11/29.
//  Copyright © 2018年 HCreater. All rights reserved.
//

#import "ReplyListData.h"

@implementation ReplyListData

- (BOOL)isAnswer
{
    return ![self.is_answer isEqualToString:@"0"];
}

/// 属性map
+ (NSDictionary<NSString *,id> *)modelCustomPropertyMapper
{
    return @{
             @"replyID":@"reply_id",
             @"expertID":@"expert_id",
             @"addTime":@"addtime",
             };
}

/// 属性名 生成 class
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
{
    return @{
             @"expert":[ExpertListData class],
             };
}

@end
